package com.ohxwj.modules.web.service;

import com.ohxwj.modules.web.entity.WebMenuEntity;

import java.util.List;

/**
 * Created by Administrator on 2018-04-16.
 */
public interface WebMenuService {

    void insertMenu(WebMenuEntity webMenuEntity);

    int updateMenu(WebMenuEntity webMenuEntity);


    List<WebMenuEntity> queryMenus();

    int deleteMenu(int id);

    WebMenuEntity loadWebMenuById(int id);

    public List<WebMenuEntity> queryByParentId(int parentId);

    public List<WebMenuEntity> queryNextMenuByParentId(int parentId);

}
